Serge Demeyer | Publications | E-mail Feedback
Last updated on Thursday, November 16, 2023
@inproceedings{Schittekat2022EASE, address = {New York, NY, USA}, author = {Schittekat, Igor and Abdi, Mehrdad and Demeyer, Serge}, booktitle = {Proceedings {EASE 2022} (The International Conference on Evaluation and Assessment in Software Engineering)}, pages = {294--298}, publisher = {Association for Computing Machinery}, title = {Can We Increase the Test-Coverage in Libraries Using Dependent Projects' Test-Suites?}, year = {2022}, abstract = {Modern software systems increasingly depend on packages released on code sharing platforms such as GitHub, Bitbucket, and GitLab. To minimize the risk of lurking defects in such packages, strong test suites covering the normal as well as the exceptional paths are needed. In this paper we explore the potential of using tests from dependent projects to increase the code coverage of base packages. We extracted 4 popular Python packages from GitHub together with 14 dependent projects and analyzed the code coverage of the available tests. We observed that adopting the tests of the dependent projects in the test suite of the base library, would increase the line coverage in 9 out of 14 (64\%) of the cases and the mutation coverage in all of them (100\%). Our results suggest that a tool which would generate tests for the base package based on the tests in the dependent projects, would help to strengthen the test suite.}, annote = {internationalconference}, doi = {10.1145/3530019.3535309}, isbn = {9781450396134}, url = {https://doi.org/10.1145/3530019.3535309}, }